import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'
// 配置 vant 全局注册
import vant from 'vant'
// vant 的css 样式
import 'vant/lib/index.css';
// 引入适配文件
import 'amfe-flexible'
import '@/utils/rem.js'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
const app = createApp(App)
const pinia = createPinia()
app.use(pinia.use(piniaPluginPersistedstate))
app.use(router)
// 使用vant 
app.use(vant)
app.mount('#app')



